package com.hugh.edu.service;


import com.hugh.edu.controller.param.ResumeEntity;

import java.util.List;

public interface ResumeService {
    /**
     * 查询所有
     * @return List<Resume>
     * @throws Exception Exception
     */
    List<ResumeEntity> queryResumeList() throws Exception;

    /**
     * 添加
     * @param resume resume
     * @return Boolean
     * @throws Exception Exception
     */
    Boolean addResume(ResumeEntity resume)throws Exception;

    /**
     * 修改
     * @param resume resume
     * @return Boolean
     * @throws Exception Exception
     */
    Boolean modifyResume(ResumeEntity resume)throws Exception;

    /**
     * 删除
     * @param resume resume
     * @return Boolean
     * @throws Exception Exception
     */
    Boolean deleteResume(ResumeEntity resume)throws Exception;

    /**
     * 删除
     * @param id resume
     * @return ResumeEntity
     * @throws Exception Exception
     */
    ResumeEntity getResumeById(Long id) throws Exception;
}
